-module(tester).

-define(EXPORT_PREFIX,"-export([").
-define(EXPORT_SUFFIX,"]).").
-define(METHOD_ARITY,1).
-define(COMPILER_OPTIONS,[]).

-include("../tester.hrl").


call_method(Object, Method) ->
    try
        {ok, object:call(Object, Method,[])}
    catch
        exit:{undef,[method,Object,Method]} ->
            method_not_found
    end.

create_object(Class) ->
    object:new(Class).

get_class_module(Class) ->
    Class.

switch_class(Class) ->
    my_delete_module(Class).